package com.freeze.demo.blockchain;

import java.io.Serializable;

/**
 * <p>Title: Transaction</p>
 * <p>Description: </p>
 * @author he_jiebing@jiuyv.com
   @date   2021年4月9日 上午11:21:09
 */

public class Transaction implements Serializable{
	
    /**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -1610332510433284178L;
	
	private String sender;
	
	private String recipient;
	
	private Integer amount; // Review: Int 即可

	public Transaction() {
		super();
	}

	public Transaction(String sender, String recipient, Integer amount) {
		super();
		this.sender = sender;
		this.recipient = recipient;
		this.amount = amount;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getRecipient() {
		return recipient;
	}

	public void setRecipient(String recipient) {
		this.recipient = recipient;
	}

	public long getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	
	

}
